Skip to content

Conversation

@rmannibucau
Copy link
Contributor

Implementation choices:

  1. propagate a readOnly toggle (almost) everywhere
  2. Copy the description in the expanded block in read only mode (otherwise it is poorly usable as soon as it gets more than 3 words)
  3. hide the constraint when not set and if none is set just print "no constraint"

@lovasoa
Copy link
Owner

lovasoa commented Nov 25, 2025

Can you add tests for you new feature?

@rmannibucau
Copy link
Contributor Author

@lovasoa added snapshot tests (but there was no test for all that part before and not sure anything else is relevant since we go in static mode for readonly part), hope it makes sense for you.

side note: didn't want to bring jest which would be more natural cause you started to use node test solution so just aligned on that as much as possible

@lovasoa lovasoa merged commit 4828061 into lovasoa:main Nov 25, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants